package com.congwulin.wechat.mapper;

import com.congwulin.wechat.entity.Station;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Station record);

    int insertSelective(Station record);

    Station selectByPrimaryKey(Integer id);

    List<Station> selectByCode(@Param("code")String code);

    List<Station> selectByName(@Param("name")String name);

    int updateByPrimaryKeySelective(Station record);

    int updateByPrimaryKey(Station record);
}